import * as TYPES from '../Actions/actionTypes';

const initialState = {
	qiniu: {}
};

let qiniuReducer = (state=initialState, action)=>{

	switch(action.type){
		case TYPES.QINIU_UPTOKEN:
			return {
				...state,
				qiniu: action.qiniu
			};
		default: 
			return state;
	}

}


export default qiniuReducer;